/*------------------------------------------------------------------------------
 * Fortress DS
 * 
 * Copyright (c) 2008 David Panseri
 * distributed under the terms of the GNU General Public License
 -------------------------------------------------------------------------------
 *
 * OAM.h
 *
 -----------------------------------------------------------------------------*/


#ifndef _OAM_H
#define	_OAM_H

#define OAM_DMA_CHANNEL 3


class oam
{
public:
    oam();
    
    void updateOAM(void);
    void initOAM(void);
    
    //set methods
    void setSprite(u8 index, SpriteEntry *pEntry);
    
    //get methods
    SpriteEntry* getSprite(u8 index);
    tOAM* getCopy(void);
    
    //void setSpriteAttribute(bool hidden, bool rotoscale, bool rsDouble, tObjMode objMode, bool isMosaic, tObjColMode objColMode, tObjShape objShape);

private:
    tOAM* m_pCopy;
};

#endif	/* _OAM_H */

